package fy.uap.dao;

import com.seeyon.ctp.common.AppContext;
import com.seeyon.ctp.organization.bo.V3xOrgMember;
import com.seeyon.ctp.organization.manager.OrgManager;

public class CheckUserCodeDao {
	private static OrgManager orgManager = (OrgManager) AppContext
			.getBean("OrgManager");

	
	
	public static boolean checkUserCode(long userID) {
		boolean success = false;
		try {
			V3xOrgMember member = orgManager.getMemberById(userID);
			member.getCode();
		} catch (Exception e) {
			// TODO 自动生成 catch 块
			e.printStackTrace();
		}

		return success;
	}
}
